<template>
  <h1>属性绑定指令</h1>
  <input type="text" v-bind:value="uname">
  <input type="text" :value="uname">
  <a href="url">超链接1</a>
  <a :href="url" :title="title">超链接2</a>
</template>

<script setup>
import {ref} from "vue";

const title=ref('7月正在热销中');
const uname=ref('ysbaby');
const url=ref('https://www.baidu.com');
url.value='https://www.jd.com';
</script>


<style scoped>

</style>